const category = require('../data/category.json')
const recommend = require('../data/recommend.json')
class CategoryController {
  async getRecommendData(ctx, next) {
    ctx.body = {
      status: 200,
      data: recommend
    }
  }
  async getCategoryData(ctx, next) {
    ctx.body = {
      status: 200,
      data: category
    }
  }
}

module.exports = new CategoryController()